package org.jeecg.modules.wms.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.wms.entity.FinishedGoodsInventory;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 订单库存分组
 */
@Data
@ApiModel(value = "OrderInventoryGroup", description = "订单库存分组")
public class OrderInventoryGroup {

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目编码")
    private String projectCode;

    @ApiModelProperty(value = "订单日期")
    private Date orderDate;

    @ApiModelProperty(value = "交货日期")
    private Date deliveryDate;

    @ApiModelProperty(value = "库存项数量")
    private Integer inventoryItemCount;

    @ApiModelProperty(value = "总数量")
    private BigDecimal totalQuantity;

    @ApiModelProperty(value = "可用数量")
    private BigDecimal availableQuantity;

    @ApiModelProperty(value = "预留数量")
    private BigDecimal reservedQuantity;

    @ApiModelProperty(value = "产品分组列表")
    private List<ProductInventoryGroup> products;
}
